<template>
  <div class="">
    <!-- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array -->
    <pre>
      Array.from(obj, mapFn, thisArg) //Array.from(obj).map(mapFn, thisArg)
        obj
          类数组对象具有length(属性和索引元素)
          可迭代对象(对象如Map和Set).
        mapFn
          可选参数
    </pre>
  </div>
</template>
 
<script>
export default {
  name: 'vueName',
  data () {
    return {
      msg:''
    }
  }
}
</script>
 
<style scoped lang="scss">
 
</style>